﻿
namespace NClass.StubLanguage
{
	public class StubProperty : Core.Property
	{
		public StubProperty(Core.CompositeType parameter) : base("NewProperty", parameter) { }

		public override Core.Operation Clone(Core.CompositeType newParent)
		{
			return new StubProperty(newParent);
		}

		protected override string DefaultType { get { return "object"; } }

		public override Core.Language Language { get { return StubLanguage.Instance; } }

		public override string GetUmlDescription(bool getType, bool getParameters, bool getParameterNames, bool getInitValue)
		{
			return Name;
		}

		public override void InitFromString(string declaration)
		{
			// Do Nothing
		}

		public override string GetDeclaration()
		{
			return Name;
		}
	}
}
